Fix GitTools/actions and GitVersion compatibility in create-tag workflow #33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
The
create-tag.yamlworkflow was failing with the following error:This occurred because the workflow was using incompatible versions:
According to the GitTools/actions version compatibility matrix:
Solution
Updated the GitVersion
versionSpecfrom'5.x'to'6.x'in.github/workflows/create-tag.yamlto align with the GitTools/actions v4.x requirements.Changes
.github/workflows/create-tag.yamlline 27:versionSpec: '6.x'This minimal change ensures the workflow can successfully install a compatible GitVersion (e.g., 6.1.0 or later) that satisfies the v4.x action requirements, allowing the tag creation workflow to run successfully.
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.